package com.sairobo.base.modules.sys.entity;


import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.sairobo.base.common.entity.BaseEntity;

import java.io.Serializable;


/**
 * 附件表
 *
 * @author admin
 * @email sairobo
 * @url www.sairobo.com
 * @date 2018年1月17日 上午11:21:54
 */
@TableName("sys_attach")
public class SysAttach extends BaseEntity<Long>  implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
    /**
    * 所属业务表id
    */
    @TableField("source_id")
    private String sourceId;
    /**
    * 所属业务表(存表名，或者类名)
    */
    @TableField("source_type")
    private String sourceType;
    /**
    * 文件名
    */
    @TableField("file_name")
    private String fileName;
    /**
    * 文件路径
    */
    @TableField("file_path")
    private String filePath;
    /**
    * 文件大小
    */
    @TableField("file_size")
    private String fileSize;
    /**
    * 文件后缀,文件格式
    */
    @TableField("file_format")
    private String fileFormat;
    /**
    * 备注
    */
    @TableField("remark")
    private String remark;
    /**
    * 标签,逗号隔开
    */
    @TableField("tags")
    private String tags;
    /**
    * 类型(如身份证,护照,户口本,证明,自定义等)
    */
    @TableField("type")
    private String type;

	public SysAttach() {
		super();
	}

	public void setSourceId(String sourceId) {
		this.sourceId = sourceId;
	}
	public String getSourceId() {
		return sourceId;
	}
	public void setSourceType(String sourceType) {
		this.sourceType = sourceType;
	}
	public String getSourceType() {
		return sourceType;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	public String getFileName() {
		return fileName;
	}
	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}
	public String getFilePath() {
		return filePath;
	}
	public void setFileSize(String fileSize) {
		this.fileSize = fileSize;
	}
	public String getFileSize() {
		return fileSize;
	}
	public void setFileFormat(String fileFormat) {
		this.fileFormat = fileFormat;
	}
	public String getFileFormat() {
		return fileFormat;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getRemark() {
		return remark;
	}
	public void setTags(String tags) {
		this.tags = tags;
	}
	public String getTags() {
		return tags;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getType() {
		return type;
	}
}
